STEP 6: Now let's use the variable star_points to control the number of points our stars have!

Remember to use the name of the variable star_points and not its value.

  • Find star1 in your program.
  • Change the points argument from 5 to the variable star_points.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)